package com.example.model.user.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Schema(name = "UserFollow", description="APP用户关注信息表")
public class UserFollow implements Serializable {
    private static final long serialVersionUID = 1L;

    @Schema(description = "主键")
    @TableId(type = IdType.AUTO)
    private Integer id;

    @Schema(description = "用户ID")
    private Integer userId;

    @Schema(description = "关注作者ID")
    private Integer followId;

    @Schema(description = "粉丝昵称")
    private String followName;

    @Schema(description = "关注度	            0 偶尔感兴趣	            1 一般	            2 经常	            3 高度")
    private Integer followLevel;

    @Schema(description = "是否动态通知")
    private Integer isNotice;

    @Schema(description = "创建时间")
    private Date createdTime;
}
